{include 'index/layout/header_box'}
<article class="yifang-wrap">
    <div class="yifang-main">
        <div class="yifang-main-left">
            <div class="sitemap">当前位置：
                <a title="首页" href="{YIFANG_URL}">首页</a>
                <i>-></i>
                <a href="{$module['linkUrl']}">{$module['name']}首页</a>
                <i>-></i>
                <a href="{$category['linkUrl']}">{$category['name']}</a>
            </div>
            <div class="yifang-article">
                <div class="article-list">
                    <div class="list-header">
                        <div class="list-title">
                            <span>{$module['name']}</span>
                            <p class="category">
                                {YiFang:categoryShow pid="<request.catId>" dataType="module" dataId="<request.moduleId>" }
                                    <a href="{$field['linkUrl']}">{$field['name']}</a>
                                {/YiFang:categoryShow}
                            </p>
                        </div>
                    </div>
                    <div class="list-body">
                        {YiFang:artList categoryId="<request.catId>" moduleId="<request.moduleId>" }
                        <div class="article">
                            <div class="article-img">
                                <a href="{$field['linkUrl']}" >
                                    <img src="{if $field[thumb]}{str_replace('thumb', 'middle', $field[thumb])}{else}__INDEX_STATIC__/default/img/thumb.png{/if}" alt="" >
                                </a>
                                <a href="{$field['categoryLinkUrl']}" class="article-category">{$field["categoryName"]}</a>
                            </div>
                            <div class="article-content">
                                <h2 class="article-title">
                                    <a href="{$field['linkUrl']}" >{$field["title"]}</a>
                                </h2>
                                <div class="article-intro">
                                    <p>{$field['description']}</p>
                                </div>
                                <div class="article-meta">
                                    <span class="article-author">
                                        <a href="">
                                            <img src="__INDEX_STATIC__/default/img/0.png" alt="">
                                            <span>{$field['author']}</span>
                                            <span>{dsubstr($field['description'], 6, '...')}</span>
                                        </a>
                                    </span>
                                    <span class="article-time">{date('Y-m-d H:i:s',$field['addTime'])}</span>
                                    <span class="article-right">
                                        <span><img src="__INDEX_STATIC__/default/img/阅读量.png" alt="">{$field['hits']}</span>
                                        <span><img src="__INDEX_STATIC__/default/img/留言.png" alt="">0</span>
                                    </span>
                                </div>
                            </div>
                        </div>
                        {/YiFang:artList}
                    </div>
                    {YiFang:page categoryId="<request.catId>" listsize='1' listitem='index,end,pre,next,info,dots' style='article' moduleId="<request.moduleId>" /}
                </div>
            </div>
        </div>
        <div class="yifang-main-right">
            <div class="right-content">
                {include 'index/compose/lastPush'}
                {include 'index/compose/search'}
                {include 'index/compose/hotRecommend'}
            </div>
        </div>
    </div>
</article>
{include 'index/compose/friendLinks'}
{include 'index/compose/footerNav'}
<script src="__INDEX_STATIC__/default/js/index.js?random={extendSetting('random')}"></script>
<script src="__INDEX_STATIC__/default/js/common.js?random={extendSetting('random')}"></script>
{include 'index/layout/footer'}
